package cn.edu.scau.cmi.luodongmei.gui;

import cn.edu.scau.cmi.luodongmei.adapter.AdapterOfClass;
import cn.edu.scau.cmi.luodongmei.adapter.Target;
import javafx.scene.layout.BorderPane;
import javafx.scene.layout.Pane;
import javafx.scene.paint.Color;
import javafx.scene.text.Font;
import javafx.scene.text.Text;

public class AdapterOfClassGUI extends Pane{
	public AdapterOfClassGUI() {
		BorderPane pane = new BorderPane();
		pane.setPrefSize(500, 300);
		
		Target classTarget=new AdapterOfClass();
		
		Text text = new Text(classTarget.doTarget());
		text.setFont(Font.font ("Verdana", 20));
		
		pane.setCenter(text);
		
		getChildren().add(pane);
		
	}
}
